package com.ruiyi.careryun.beans.user;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import com.ruiyi.careryun.beans.CarInfo;

@Document
public class UserInfoMongo implements Serializable {
    private static final long serialVersionUID = -5450606930485978802L;
    @Id
    private Integer id;

    private String createBy;

    private String updateBy;

    private Boolean isDelete; // 是否删除；0：否，1：是

    private Integer userId;

    private String phone;

    private String userName;

    private String email;

    private String wechatCode;

    private Integer point;

    private Integer token;

    private String password;

    private String userHeadUrl;

    private String createDate;

    private String updateDate;

    private List<CarInfo> carinfoList;

    /**
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId 要设置的 userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone 要设置的 phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName 要设置的 userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email 要设置的 email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return wechatCode
     */
    public String getWechatCode() {
        return wechatCode;
    }

    /**
     * @param wechatCode 要设置的 wechatCode
     */
    public void setWechatCode(String wechatCode) {
        this.wechatCode = wechatCode;
    }

    /**
     * @return point
     */
    public Integer getPoint() {
        return point;
    }

    /**
     * @param point 要设置的 point
     */
    public void setPoint(Integer point) {
        this.point = point;
    }

    /**
     * @return token
     */
    public Integer getToken() {
        return token;
    }

    /**
     * @param token 要设置的 token
     */
    public void setToken(Integer token) {
        this.token = token;
    }

    /**
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password 要设置的 password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return userHeadUrl
     */
    public String getUserHeadUrl() {
        return userHeadUrl;
    }

    /**
     * @param userHeadUrl 要设置的 userHeadUrl
     */
    public void setUserHeadUrl(String userHeadUrl) {
        this.userHeadUrl = userHeadUrl;
    }

    /**
     * @return createDate
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate 要设置的 createDate
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    /**
     * @return updateDate
     */
    public String getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate 要设置的 updateDate
     */
    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return carinfoList
     */
    public List<CarInfo> getCarinfoList() {
        return carinfoList;
    }

    /**
     * @param carinfoList 要设置的 carinfoList
     */
    public void setCarinfoList(List<CarInfo> carinfoList) {
        this.carinfoList = carinfoList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

}
